package com.oa.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oa.server.entity.Employee;
import com.oa.server.entity.RespPageBean;
import com.oa.server.result.ResponseBean;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mcy
 * @since 2021-06-01
 */
public interface IEmployeeService extends IService<Employee> {

    RespPageBean getAllEmployeesByPage(Integer currentPage, Integer pageSize, Employee employee, LocalDate[] beginDateScope);

    ResponseBean getMaxWorkID();

    ResponseBean addEmployee(Employee employee);

    List<Employee> getEmployee(Integer id);
}
